package com.byq.mm.gateway.adapter;

import java.util.LinkedList;
import java.util.List;


public class ManageAction{
	static public final String SCENE = "scene";
	static public final String GROUP = "group";
	static public final String DEVICE = "device";
	static public List<ManageAction> manageActions = new LinkedList<ManageAction>();
	static{
		manageActions.add(new ManageAction(GROUP));
		manageActions.add(new ManageAction(SCENE));
		manageActions.add(new ManageAction(DEVICE));
	}
	ManageAction(String aid){
		this.id = aid;
	}
	
	public String id;

	@Override
	public String toString() {
		if(id.equals(SCENE))
			return "fffff";
		if(id.equals(GROUP))
			return "fff";
		if(id.equals(DEVICE))
			return "";
		return id;
	}
	
}